<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>My JSP 'addemp.jsp' starting page</title>
</head>

<body>
<br>
<form name="form1" th:action="@{/emp(method=add)}" method="post" action="123.do">
    <table width="500" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td colspan="2" align="center"><h1>新增共享车位</h1></td>
        </tr>
        <tr>
            <td width="120">车位所属：</td>
            <td width="380"><input type="text" name="owner" id="owner"></td>
        </tr>
        <tr>
            <td>联系电话：</td>
            <td><input type="text" name="phone" id="phone"></td>
        </tr>
        <tr>
            <td>位置：</td>
            <td><input type="text" name="street" id="street"></td>
        </tr>
        <tr>
            <td>车位号：</td>
            <td><input type="text" name="parkingnum" id=parkingnum></td>
        </tr>
        <tr>
            <td>起始时间:</td>
            <td><input type="text" name="starttime" id="starttime"></td>
        </tr>
        <tr>
            <td>终止时间:</td>
            <td><input type="text" name="endtime" id="endtime"></td>
        </tr>
        <tr>
            <td>单价/每小时:</td>
            <td><input type="text" name="price" id="price"></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" name="button" id="button" value="增加">
                &nbsp;
                <input type="reset" name="button2" id="button2" value="取消">
            </td>
        </tr>
    </table>
</form>

</body>
</html>
